package com.citymanage.demo.mapper.cases;

import com.citymanage.demo.po.cases.Case;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CaseMapper {
    void submitCase(@Param("clocation")String clocation,@Param("ctime") String ctime,@Param("cdescribe")String cdescribe,@Param("personID") Integer personID);
    List<Case>selectAll();
    void solveCase(@Param("cimg")String cimg,@Param("crescult")String crescult,@Param("wid")Integer wid,@Param("cid")Integer cid);
    void scoreCase(@Param("cid")Integer cid,@Param("cscore")Integer cscore);
    List<Case>selectBykey(@Param("key") Integer key);
}
